package com.rst.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@Entity
@Table(name="t_class")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class Classe {
	
	public static final int ACTIVE = 1;
	public static final int INACTIVE = 0;
	
	public Classe(){
		
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name="f_class_id")
	private Long classId;	
	
	@Column(name="f_name")
	private String name;
	
	@Column(name="f_code")
	private String code;
	
	@Column(name="f_status")
	private Integer status;
	

	public Long getClassId() {
		return classId;
	}
	public void setClassId(Long classId) {
		this.classId = classId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	

}
